<h1><?php echo __('contract')." N° ".$contract['ref']; ?></h1>

<h2><?php echo __('company')." : </h2>".$client['Company']['name']; ?>
<br /><br />
<h2><?php echo __('list_profiles'); ?></h2>
<br />
<table width="50%">
<th><?php echo __('label'); ?></th><th><?php echo __('dayli_rate'); ?></th>
<?php
	foreach ($contractProfil as $cprofil):
		echo "<tr>";
		echo "<td>".$cf->getProfilName($profils, $cprofil['profil_id'])."</td>";
		echo "<td>".$cprofil['value']."</td>";
		echo "</tr>";
	endforeach;
?>
</table>
<br /><br />
<h2><?php echo __('list_interventions'); ?></h2>
<br />
<table width="50%">
<th><?php echo __('label'); ?></th><th><?php echo __('value'); ?></th>
<?php
	foreach ($contractIntervention as $cinterv):
		echo "<tr>";
		echo "<td>".$cf->getInterventionName($interventions, $cinterv['intervention_id'])."</td>";
		echo "<td>".$cinterv['value']."</td>";
		echo "</tr>";
	endforeach;
?>
</table>
<br /><br />
<h2><?php echo __('estimated_dayli_rate'); ?></h2>
<?php echo $contract['tjm']; ?>
